package jp.ne.hatena.d.digitalsoul.warikan.models

class Party(val id:Int) {
	
	var sum:Int = 0
	
	var participants = Map[String, Participant]()
	
	var allot = Map[String, Allot]()
	
	def populateWith(another:Party) = {
		this.sum = another.sum 
		this.participants = another.participants
		this.allot = another.allot
	}
	
}